num = int(input("请输入数字"))
if num > 0:
    print("数字",num,"大于0")
    print()
    print()
else:
    print("数字",num,"小于等于0")
    num = 1
    while num <= 10:
        print(num,end=" ")
        num += 1

for i in range(1, 5 + 1):
        for j in range(5, i, -1):
            print(" ", end="")
        for j in range(1, 2 * i):
            print("*", end=" ")
        print()
for i in range(1, 10, 2):
        print(("*" * i).center(10))
for i in range(7, 0, -2):
        print(("*" * i).center(10))